-- GENERATED SPELL FOR [Zandras] --


function spell0_21827(pUnit, Event) --@Fel Shackles,n/a--
pUnit:FullCastSpellOnTarget(38051,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21827', 7500, 1)
end

function Sorts_21827(pUnit, Event)
local choix_sorts_21827 = math.random(0, 0)
if choix_sorts_21827 == 0 then
pUnit:RegisterEvent('spell0_21827', 1, 1)
end
end

function mob21827_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21827', math.random(1500, 3000), 1)
end

function mob21827_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21827_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21827_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21827, 1, 'mob21827_Action')
RegisterUnitEvent(21827, 2, 'mob21827_Leave')
RegisterUnitEvent(21827, 3, 'mob21827_Kill')
RegisterUnitEvent(21827, 4, 'mob21827_Die')
